ImageGear .NET v25.1 - Updated
GetExtraChannelCount(Int32[]) Method




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearColorSpace Structure > GetExtraChannelCount Method : GetExtraChannelCount(Int32[]) Method
Array of channels in the image.
Calculates quantity of extra channels in color space with given channels array.
Syntax
'Declaration
 
Public Overloads Function GetExtraChannelCount( _
   ByVal channels() As Integer _
) As Integer
'Usage
 
Dim instance As ImGearColorSpace
Dim channels() As Integer
Dim value As Integer
 
value = instance.GetExtraChannelCount(channels)
public int GetExtraChannelCount( 
   int[] channels
)
public: int GetExtraChannelCount( 
   int[]* channels
) 
public:
int GetExtraChannelCount( 
   array<int>^ channels
) 

Parameters

channels
Array of channels in the image.

Return Value

Quantity of extra channels or zero in case if color-space value doesn’t contain ImGearColorSpaceIDs.Ex bit.
See Also

Reference

ImGearColorSpace Structure
ImGearColorSpace Members
Overload List
ImGearColorSpaceIDs Enumeration